#include <iostream>
#include <stdexcept>
using namespace std;

#include "mainwindow.h"

int main()
{
    try
    {
        MainWindow window;
        window.show();
    }
    catch(const exception& e)
    {
        Window::msgbox(nullptr, e.what(), "Error");
    }
    return 0;
}